package com.ns.school.mapper.edu;

import com.ns.school.po.edu.BookStockDB;

import java.util.List;

public interface BookStockMapper {
    Integer addBookStock(BookStockDB bookStockDB);

    List<BookStockDB> findBookStock(BookStockDB bookStockDB);

    BookStockDB findBook(BookStockDB bookStockDB);

    Integer auditBook(BookStockDB bookStockDB);

    Integer auditTrue(Integer id);

    Integer auditFail(Integer id);

    int checkRecord(BookStockDB bookStockDB);

    BookStockDB selectBookStock(Integer id);

    int updateBookStock(BookStockDB bookStockDB);
}
